<?php
	include "layout.php";
	
	head("Display Planet");
?>
<?php 
	echo "<table>";
	for ($y = 0; $y < 8; $y++) {
		echo "<tr>";
		for($x = 0; $x < 8; $x++) {
			echo "<td>{$x},{$y}</td>";
		}
		echo "</tr>";
	}
	echo "</table>";
?>
<?php 
			$rmq = mysql_query("SELECT * FROM rms");
			while ($rms = mysql_fetch_array($rmq)) {
				echo "<option value={$rms["id"]}>{$rms["name"]}</option>";
			}
		?>
<?php 
	foot();
?>